package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 暂定为报名 ，也可以为投票
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_plugin_signup")
@SuppressWarnings("serial")
public class PluginSignup extends BaseModel {

    /**
     * 报名标题
     */
	private String title;
    /**
     * 表单id
     */
	private Long formid;
    /**
     * 类型
0 报名
1 投票
     */
	private Integer type;
    /**
     * 内容为jsonb格式
如果类型为报名 则不需要填写此字段
如果类型为投票，格式{optionname1:optionvalue1,optionname2:optionvalue2...}

     */
	private String content;
    /**
     * 是否可用
0 不可用
1 可用
     */
	private Integer enbale;
    /**
     * 活动说明
     */
	private String description;
    /**
     * 开始时间
     */
	private Date starttime;
    /**
     * 结束时间
     */
	private Date endtime;
    /**
     * 模板id
     */
	@TableField("temp_id")
	private Long tempId;
    /**
     * 电台id
     */
	@TableField("rs_id")
	private Long rsId;
    /**
     * 推广id

便于统计
     */
	@TableField("spread_id")
	private Long spreadId;

	@TableField("del_status")
	private Integer delStatus;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getFormid() {
		return formid;
	}

	public void setFormid(Long formid) {
		this.formid = formid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getEnbale() {
		return enbale;
	}

	public void setEnbale(Integer enbale) {
		this.enbale = enbale;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	public Long getRsId() {
		return rsId;
	}

	public void setRsId(Long rsId) {
		this.rsId = rsId;
	}

	public Long getSpreadId() {
		return spreadId;
	}

	public void setSpreadId(Long spreadId) {
		this.spreadId = spreadId;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}
}